
/**
 * Copyright 2017 Yonyou Corporation Ltd. All Rights Reserved.
 * This software is published under the terms of the Yonyou Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 *
 * @Project Name : dmscloud.manage
 * @File name : RolePDto.java
 * @Author : RenWeiDong
 * @Date : 2017年5月27日
 * <p>
 * ----------------------------------------------------------------------------------
 * Date       Who       Version     Comments
 * 1. 2017年5月27日    RenWeiDong    1.0
 * <p>
 * <p>
 * <p>
 * <p>
 * ----------------------------------------------------------------------------------
 */

package com.yonyou.cyxdms.sysAuth.service.dto.role;

import java.util.ArrayList;
import java.util.List;

/**
 * 接收角色对应权限的dto
 *
 * @author RenWeiDong
 * @date 2017年5月27日
 */

public class RolePDto {
    private Long userOrgId;
    private Integer roleId;
    private String dealerCode;
    private String roleCode;
    private String roleName;
    private Integer roleType;
    private Integer isValid;//是否关键岗位
    private List<String> checkedListAll;//大区经理
    private List<String> checkedList1;//职责-售前
    private List<String> checkedList2;//职责-售后
    private List<String> favorableModels;//优惠模式
    private List<String> maintain;//维修 1211
    private List<String> accessories;//配件 1313
    private List<String> vehicleWarehouse;//整车仓库 1319
    private List<String> accessoriesWarehouse;//配件仓库 1320
    private List<String> claimWarehouse;//索赔回运仓库 1321
    private List<String> suppliesWarehouse;//用品仓库
    private  List<String> checkedListSettlement;// 结算1314
    private List<String> checkedListMaintenanceType; // 维修类型  1111
    //private List<String> warehouse;//仓库(现已不用)
    private String text;
    private String nowRole;
    private String nowTree;
    private String treeMenuAction;///--------带修改
    private String treeMenuRange;///--------带修改
    private String employeeRoleIds;
    private Integer dataSource;
    private Integer dataType;
    private String clueSourceIds;
    private String clueSourceNames;

    public Integer getRoleType() {
        return roleType;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }

    public String getClueSourceNames() {
        return clueSourceNames;
    }

    public void setClueSourceNames(String clueSourceNames) {
        this.clueSourceNames = clueSourceNames;
    }

    public String getClueSourceIds() {
        return clueSourceIds;
    }

    public void setClueSourceIds(String clueSourceIds) {
        this.clueSourceIds = clueSourceIds;
    }

    public List<String> getCheckedListSettlement() {
        return checkedListSettlement;
    }

    public List<String> getCheckedListMaintenanceType() {
        return checkedListMaintenanceType;
    }

    public void setCheckedListMaintenanceType(List<String> checkedListMaintenanceType) {
        this.checkedListMaintenanceType = checkedListMaintenanceType;
    }

    public void setCheckedListSettlement(List<String> checkedListSettlement) {
        this.checkedListSettlement = checkedListSettlement;
    }

    public List<String> getCheckedListAll() {
        return checkedListAll;
    }

    public void setCheckedListAll(List<String> checkedListAll) {
        this.checkedListAll = checkedListAll;
    }

    public Long getUserOrgId() {
        return userOrgId;
    }

    public void setUserOrgId(Long userOrgId) {
        this.userOrgId = userOrgId;
    }

    public List<String> getCheckedList1() {
        return checkedList1;
    }

    public void setCheckedList1(List<String> checkedList1) {
        this.checkedList1 = checkedList1;
    }

    public List<String> getCheckedList2() {
        return checkedList2;
    }

    public void setCheckedList2(List<String> checkedList2) {
        this.checkedList2 = checkedList2;
    }

    public String getEmployeeRoleIds() {
        return employeeRoleIds;
    }

    public void setEmployeeRoleIds(String employeeRoleIds) {
        this.employeeRoleIds = employeeRoleIds;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    private Long employeeId;//员工id
    private String userCode;//账号
    private String employeeName;//姓名
    private String password;
    private String userStatus;//有效无效
    private List<String> employeeRoles = new ArrayList<>();

    @Override
    public String toString() {
        return "RolePDto{" +
                "userOrgId=" + userOrgId +
                ", roleId=" + roleId +
                ", dealerCode='" + dealerCode + '\'' +
                ", roleCode='" + roleCode + '\'' +
                ", roleName='" + roleName + '\'' +
                ", isValid=" + isValid +
                ", checkedListAll=" + checkedListAll +
                ", checkedList1=" + checkedList1 +
                ", checkedList2=" + checkedList2 +
                ", favorableModels=" + favorableModels +
                ", maintain=" + maintain +
                ", accessories=" + accessories +
                ", vehicleWarehouse=" + vehicleWarehouse +
                ", accessoriesWarehouse=" + accessoriesWarehouse +
                ", suppliesWarehouse=" + suppliesWarehouse +
                ", checkedListSettlement=" + checkedListSettlement +
                ", checkedListMaintenanceType=" + checkedListMaintenanceType +
                ", text='" + text + '\'' +
                ", nowRole='" + nowRole + '\'' +
                ", nowTree='" + nowTree + '\'' +
                ", treeMenuAction='" + treeMenuAction + '\'' +
                ", treeMenuRange='" + treeMenuRange + '\'' +
                ", employeeRoleIds='" + employeeRoleIds + '\'' +
                ", dataSource=" + dataSource +
                ", dataType=" + dataType +
                ", employeeId=" + employeeId +
                ", userCode='" + userCode + '\'' +
                ", employeeName='" + employeeName + '\'' +
                ", password='" + password + '\'' +
                ", userStatus='" + userStatus + '\'' +
                ", employeeRoles=" + employeeRoles +
                '}';
    }

    public String getText() {
        return text;
    }

    public String getTreeMenuAction() {
        return treeMenuAction;
    }

    public void setTreeMenuAction(String treeMenuAction) {
        this.treeMenuAction = treeMenuAction;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getDealerCode() {
        return dealerCode;
    }

    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public List<String> getFavorableModels() {
        return favorableModels;
    }

    public void setFavorableModels(List<String> favorableModels) {
        this.favorableModels = favorableModels;
    }

    public List<String> getMaintain() {
        return maintain;
    }

    public void setMaintain(List<String> maintain) {
        this.maintain = maintain;
    }

    public List<String> getAccessories() {
        return accessories;
    }

    public void setAccessories(List<String> accessories) {
        this.accessories = accessories;
    }

    public String getNowRole() {
        return nowRole;
    }

    public void setNowRole(String nowRole) {
        this.nowRole = nowRole;
    }

    public String getNowTree() {
        return nowTree;
    }

    public void setNowTree(String nowTree) {
        this.nowTree = nowTree;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public String getUserCode() {
        return userCode;
    }

    public Integer getDataSource() {
        return dataSource;
    }

    public void setDataSource(Integer dataSource) {
        this.dataSource = dataSource;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus;
    }

    public String getTreeMenuRange() {
        return treeMenuRange;
    }

    public void setTreeMenuRange(String treeMenuRange) {
        this.treeMenuRange = treeMenuRange;
    }

    public List<String> getEmployeeRoles() {
        return employeeRoles;
    }

    public void setEmployeeRoles(List<String> employeeRoles) {
        this.employeeRoles = employeeRoles;
    }

    public List<String> getVehicleWarehouse() {
        return vehicleWarehouse;
    }

    public void setVehicleWarehouse(List<String> vehicleWarehouse) {
        this.vehicleWarehouse = vehicleWarehouse;
    }

    public List<String> getAccessoriesWarehouse() {
        return accessoriesWarehouse;
    }

    public void setAccessoriesWarehouse(List<String> accessoriesWarehouse) {
        this.accessoriesWarehouse = accessoriesWarehouse;
    }

    public List<String> getClaimWarehouse() {
        return claimWarehouse;
    }

    public void setClaimWarehouse(List<String> claimWarehouse) {
        this.claimWarehouse = claimWarehouse;
    }

    public List<String> getSuppliesWarehouse() {
        return suppliesWarehouse;
    }

    public void setSuppliesWarehouse(List<String> suppliesWarehouse) {
        this.suppliesWarehouse = suppliesWarehouse;
    }

}
